Part Number Hot Search : 
AK6012A MT91L61 MT91L61 TTINY13 S3K1600 AD7813YN Z02W15V D1475
Product Description
Full Text Search
 

To Download X3DIL Datasheet File

  If you can't view the Datasheet, Please click here to try to view without PDF Reader .  
 
 


  Datasheet File OCR Text:
  X3DIL avr usb module rev. 1.0 documentation rev. 1 reusch elektronik ? 2012 reusch elektronik, dipl.-ing. (fh) rainer reusch www.reusch-elektronik.de http://products.reworld.eu/X3DIL.htm file: X3DIL_manual created: 2012-05-10 changed: free datasheet http://
table of contents 1. introduction .................................................................................................. 1 1.1 assembly variations ............................................................................................................................... 1 1.2 oscillator ................................................................................................................................................ 1 1.3 introduction example ............................................................................................................................. 2 2. technical information ................................................................................... 3 2.1 schematic .............................................................................................................................................. 3 2.2 dual-inline-socket pin assignment ........................................................................................................ 4 2.3 pdi pin assignment ............................................................................................................................... 5 2.4 technical data ....................................................................................................................................... 5 2.5 dimensions ............................................................................................................................................ 5 3. application notes ......................................................................................... 6 3.1 power supply options ........................................................................................................................... 6 3.2 memory programming ........................................................................................................................... 7 3.3 reflashing the bootloader ...................................................................................................................... 9 4. concluding remarks .................................................................................. 10 4.1 application software ............................................................................................................................ 10 4.2 links .................................................................................................................................................... 10 4.3 conformity statement ........................................................................................................................... 10 4.4 statement and disclaimer .................................................................................................................... 11 4.4 technical support ................................................................................................................................. 11 please note: this document refers to revision 1.0 of the X3DIL module. if you are using a device with another revision number, please refer to the corresponding documentation! reusch elektronik dipl.-ing. (fh) rainer reusch blumenstr. 13 d-88097 eriskirch germany phone: +49-7541-81484 fax: +49-7541-81483 e-mail: info@reusch-elektronik.de homepage: www.reusch-elektronik.de ? 2012 reusch elektronik, dipl.-ing. (fh) rainer reusch this document is protected by copyright law. it is prohibited to copy or distribute without permission of reusch elektronik . free datasheet http://
reusch elektronik X3DIL 1. introduction X3DIL is a tiny interface module for an atmel avr micro controller with usb interface in tqfp64 casing. the module fits to an ordinary 64 pin dual-in-line socket with 0.9 inch row distance. the X3DIL module is helpful in experiments, development and prototyping with usb-avr micro controllers. the module contains the crystal oscillator. a socket is used, so it is easy to replace the crystal or ceramic resonator to get the required frequency. the esd protected usb interface (mini usb plug) is on board. the module contains a 6 pin header for in-system-programming and debugging (atmel 6 pin pdi standard). these pins are also available by the dual-in-line connector pins. a reset can be done by the on board button. the X3DIL module is easy to use, because it contains all necessary and time critical interfaces. on the other hand it gives full flexibility in power supplement and connectivity! 1.1 assembly variations the module is available in one assembly version: ? as X3DIL-atxmega256a3u, assembled with atxmega256a3u from atmel the printed circuit board is also available naked (not assembled). it is suitable for the following atmel microcontrollers with tqfp64 casing: ? atxmega64a3u-au ? atxmega128a3u-au ? atxmega192a3u-au ? atxmega256a3u-au 1.2 oscillator a 3 pin socket is used for the oscillator. this makes the module suitable for a ? crystal (hc49) ? 2 pin ceramic resonator ? 3 pin ceramic resonator all components in wired technology (no smd). it might be necessary, to remove the two 22pf capacitors (c8 and c9), if a 3 pin ceramic resonator is used. the xtal pins are also accessible at pin 26 (xtal1, input) and pin 25 (xtal2, output). an external clock source can be connected to pin 26. the controller contains an internal 48mhz rc oscillators. this oscillator can be synchronized with the usb bus clock frequency for usage as clock for the usb engine. therefor no or any crystal clock frequency can be used to drive the core. if the usb engine is clocked by the crystal, the following frequencies are recommended: ? 8.000mhz ? 12.000mhz ? 16.000mhz (delivery standard) rev. 1.0 page 1 free datasheet http://
reusch elektronik X3DIL 1.3 introduction example the wiring example as shown, supplies the module by usb and the onboard 3.3v regulator. programming can be done via usb, bootloader and atmel flip. without firmware, the module always will enter the bootloader. it will respond as atmel device at the personal computer. at the first plugging, it is asked for a driver installation. you have to use the libusb-win32 drivers, which are coming with the atmel flip installation package. after the driver installation, the device can be accessed by atmel flip to program your firmware application. after programming, the boot switch has to be changed to open state and a reset has to be executed (push of the reset button). after that or when the device is plugged again, it will run with your programmed firmware. to relaunch the bootloader, close the boot switch and push the reset button once. please note: there are more options, to supply the device. the device also can be programmed via pdi interface and pdi programmer. for more information read the application note chapter, please. rev. 1.0 page 2 free datasheet http://
reusch elektronik X3DIL 2. technical information 2.1 schematic notes: by factory default r2 and r4 are assembled, r1 and r4 are not. that means, pd6 (d-) and pd7 (d+) are not available at dil pins. populating this two missing resistors may cause non reliable usb operation! this should only be done, if usb is not used. the pins 25 and 26 are carrying the crystal signal by factory default (if a crystal is used). the usage of the module in experimental environments may cause improper crystal operation. if this occurs, disconnect the pins from the crystal by opening j1 and j2 (use a cutter). pin 64 is the 5v output of the usb supply voltage. the controller is designed for supply voltages up to 3.6v. that means: never connect pin 64 to any other pin of the module, direct or indirect! a connection will cause a damage! rev. 1.0 page 3 free datasheet http://
reusch elektronik X3DIL 2.2 dual-inline-socket pin assignment pin function 1 shield (usb) 2 gnd 3 id (usb) 4 n.c. 5 n.c. 6 n.c. (pd7, d+, txd1, sck)* 7 pe0 ( oc0a, oc0als, sda ) 8 pe1 (oc0b,oc0ahs, xck0,scl) 9 pe2 ( oc0c, oc0bls, rxd0 ) 10 pe3 (oc0d, oc0bhs, txd0) 11 pe4 (oc0cls, oc1a, ss ) 12 pe5 (oc0chs,oc1b,xck1,mosi) 13 pe6 ( oc0dls, rxd1, miso ) 14 pe7 ( oc0dhs, txd1, sck ) 15 pf0 (oc0a) 16 pf1 (oc0b, xck0) 16 pf2 (oc0c, rxd0) 18 pf3 (oc0d, txd0) 19 pf4 20 pf5 21 pf6 22 pf7 23 pdi (pdi-data) 24 reset (pdi-clock) 25 pr0 (xtal2) 26 pr1 (xtal1) 27 avcc 28 gnd 29 pa0 ( adc0,adc8,ac0,aref ) 30 pa1 (adc1, adc9, ac1) 31 pa2 (adc2, adc10, ac2) 32 gnd function pin vbus (5v output) 64 3.3v output 63 vcc 62 vcc 61 n.c. (pd6, d-, rxd1, miso)* 60 pd5 (oc1b, xck1, mosi) 59 pd4 (oc1a, ss ) 58 pd3 (oc0d, txd0) 57 pd2 (oc0c, rxd0) 56 pd1 (oc0b, xck0, scl) 55 pd0 (oc0a, sda) 54 pc7 (oc0dhs, txd1, sck) 53 pc6 (oc0dls,rxd1,miso,rtcout) 52 pc5 (oc0chs,oc1b,xck1,mosi) 51 pc4 (oc0cls, oc1a, ss ) 50 pc3 (oc0d, oc0bhs, txd0) 49 pc2 (oc0c, oc0bls, rxd0) 48 pc1 ( oc0b,oc0ahs,ck0,scl ) 47 pc0 (oc0a, oc0als, sda) 46 pb7 (adc15,adc7,ac7,ac0out,tdo) 45 pb6 (adc14,adc6,ac6,ac1out,tck) 44 pb5 (adc13, adc5, ac5, tdi) 43 pb4 ( adc12, adc4, ac4, tms ) 42 pb3 ( adc11, adc3, ac3, dac1 ) 41 pb2 (adc10, adc2, ac2, dac0) 40 pb1 (adc9, adc1, ac1) 39 pb0 (adc8,adc0,ac0,aref) 38 pa7 (adc7,adc15,ac7,ac0out) 37 pa6 (adc6,adc14,ac6,ac1out) 36 pa5 (adc5, adc13, ac5) 35 pa4 (adc4, adc12, ac4) 34 pa3 (adc3, adc11, ac3) 33 *) pd6 (d-) and pd7 (d+) are not connected to pins by default (r1 and r4 not assembled). for more information about the alternative pin usage, please refer to the atmel data sheets. warning! never connect vbus (pin 64) to any other pin of the device! rev. 1.0 page 4 free datasheet http://
reusch elektronik X3DIL 2.3 pdi pin assignment the in-system programming and debugging adapter is a 6 pin header, which corresponds with the 6 pin atmel pdi connector. therefore the usual atmel in-system programmers (such as avr isp mkii or jtagice3) are suitable. pin function 1 pdi data 3 nc 5 pdi clock function pin vcc 2 nc 4 gnd 6 note for avr jtag mkii compatible devices (clones, such as the device from kee electronics): if it isn't possible, to get a connection to the device, a pull down resistor (about 100k ) at the pdi data line may help. 2.4 technical data supply voltage 1.6v to 3.6v supply current <20ma (depends on application) onboard voltage regulator 3.3v / 100ma clock frequency up to 32mhz (8, 12 or 16mhz are necessary, if usb engine is clocked by crystal) operation temperature -25c to 70c storage temperature -25c to 85c for further information related to the microcontroller, please refer to the atmel data sheet of the microcontroller. 2.5 dimensions rev. 1.0 page 5 1 free datasheet http://
reusch elektronik X3DIL 3. application notes 3.1 power supply options the module can be supplied by usb bus power with the on board 3.3v regulator or it can be self powered by an external voltage regulator. the usb supply voltage (+5.0v) is available at pin 64. please note: the controller allows voltages up to 3.6v. never connect vbus (pin 64) to any other pin of the module! for bus powered supply (usage of the onboard voltage regulator), only a few connections are necessary. for self powered supply a stabilized supply voltage of 3.3v (1.6v to 3.6v) is required. use the circuitry as shown. note, that the supply is connected to (at least) one vcc and avcc pin. the 3.3v output (pin 63) is leaved open! bus powered self powered for further information please refer to the atmel data sheet of the microcontroller. please note: the vbus pin (pin 64) outputs +5.0v from the usb supply voltage. never connect this pin to any other pin of the X3DIL device! the controller can handle voltages up to 3.6 volts only! rev. 1.0 page 6 free datasheet http://
reusch elektronik X3DIL 3.2 memory programming the atmel microcontroller on the X3DIL module is shipped with atmels dfu bootloader. so there are three ways, to program the flash memory and eeprom of the microcontroller. 3.2.1 bootloader and flip the usb bootloader and the software atmel flip (for microsoft windows ? ) can be used, to program the microcontroller over the usb interface without special programming device. install the flip software package, before connecting the module in bootloader mode first time. the software requires the libusb-win32 drivers, which comes with the atmel flip installation package. the usb bootloader will be launched, when the boot pin (pin 12 of X3DIL module) is set to low level (0 volt) and a reset is done (low pulse at pin 24 of the X3DIL module). the module has to be connected to the personal computer (running microsoft windows) via usb. note: while the dfu bootloader is running, the module is clocked by the internal 48mhz rc oscillator. that means, no external crystal or clock is necessary for programming. the module will be detected as atmel device. the driver installation dialogue will be shown at the first time. chose automatic installation, if the libusb-win32 drivers are already installed. if not, chose manual installation and select the driver path of the flip installation directory (e.g. c:\programs\atmel\flip). launch the flip application. chose the device (atxmega256a3u) and the hex file for programming, finally open an usb connection. now the microcontroller can be erased, programmed and verified. in a second programming step, the eeprom can be programmed. finally push the start application button, to close the connection with the device. to launch the programmed firmware, set the boot pin to high level and reset the controller (low pulse at pin 24). it might be necessary, to replug the device (turn off and on the power) for proper usb operation! note: it isn't possible, to delete the bootloader or modify any fuses with flip. the atmel flip installation package can be downloaded from the atmel homepage. search for flip or try the following link: http://www.atmel.com/dyn/products/tools_card_mcu.asp?tool_id=3886 3.2.2 in-system-programming the X3DIL module contains an atmel pdi connector for in-system-programming. an atmel pdi compatible programming device (such as avrisp mkii) is required. the advantages of this programming method: ? full control over the microcontroller, all memories and fuses ? comfortable integration into avr studio ? no bootloader required ? suitable for any clock frequency note: this programming method allows a chip erase. that means, the bootloader can be erased (the flash memory space can be used for the application). on the other hand, the rev. 1.0 page 7 free datasheet http://
reusch elektronik X3DIL device no longer can be programmed with flip! if a firmware update should be possible later without programmer, the dfu bootloader has to be reprogrammed by this method. 3.2.3 debugging with pdi the pdi interface is also suitable for debugging. it is a replacement for jtag. the pdi interface can be accessed by the 6 pin header. all pins of this header are also present on the dual in line connector pins (pin 23 and 24). for debugging, jtag adapters with pdi support are required. the original atmel avr jtag mkii, fully compatible clones (such as the device from kee electronics) and atmels jtagice3 are suitable. note for atmels new jtagice3: firmware versions older than v1.34 (delivered until february 2012) doesn't support atxmegaxxa3u controllers properly! it is strictly recommended, to update your jtagice3 device! note for avr jtag mkii compatible devices (clones, such as the device from kee electronics): if it isn't possible, to get a connection to the device, a pull down resistor (about 100k ) at the pdi data line may help. 3.2.4 jtag interface the pins 42 to 45 of the X3DIL module represents the jtag interface, which is enabled by factory default. a jtag device (such as atmel jtag ice) can be connected to these pins, to program the device and debug the firmware within the development environment (avr studio). the picture on the right side shows the wiring for a standard 10 pin boxed header as jtag connector. please note: the pins can't be used as usual i/o ports, as long as jtag is enabled (fuse bit of the avr chip). if you want to use the pins as i/o port, the corresponding fuse bit has to be erased by isp programming. for more details refer atmel data sheet. 3.2.5 high voltage programming a high voltage programming of the device is not supported! rev. 1.0 page 8 free datasheet http://
reusch elektronik X3DIL 3.3 reflashing the bootloader after a chip erase (e.g. when the controller was programmed via pdi) it is necessary, to reflash the dfu bootloader, if further programming should be possible by usb and flip. at first, download the dfu bootloader files from the atmel homepage. try the following link http://www.atmel.com/images/avr1916.zip or search for atxmega256a3u dfu files on the atmel homepage ( www.atmel.com ). unzip the file and look for the file atxmega256a3u_bootloader_usb_dfu_103.hex (newer files have a higher version number) in the subdirectory xmega_bootloaders_v103\binaries\atxmega256a3u. launch avr studio (v5.1 or higher) and open the avr programming dialogue. program the hex file into the flash memory. in a second step, it might be necessary, to modify the fuses. the following screenshot shows the factory default fuse settings, except the fuse bootrst . this fuse has to be set to bootldr, otherwise the bootloader never launches! after programming the bootloader, it might be necessary, to reset the controller. note: the dfu bootloader is running with the internal 48mhz rc oscillator. for this reason, no external crystal or clock generator is necessary, while the bootloader is launched. rev. 1.0 page 9 free datasheet http://
reusch elektronik X3DIL 4. concluding remarks 4.1 application software you will find programming and application sample software on the product homepage. please visit the following url: http://products.reworld.eu/X3DIL.htm you will find additional information and tools on the following urls. atmel avr tools and software: http://www.atmel.com/dyn/products/tools.asp? category_id=163&family_id=607&subfamily_id=760 dean cameras lufa (lightweight usb framework for avrs, formerly known as myusb): http://www.fourwalledcubicle.com/lufa.php teensy usb development board: http://www.pjrc.com/teensy/ 4.2 links visit the following links for more information and downloads about this product, used software modules and tools. reusch elektronik homepage for electronic products: http://products.reworld.eu atmel corporation, avr data sheets: http://www.atmel.com/dyn/products/documents.asp? category_id=163&family_id=607&subfamily_id=760 v-usb, virtual usb port for avr microcontroller: http://www.obdev.at/products/vusb/index.html winavr, gcc development environment: http://winavr.sourceforge.net/ libusb-win32, usb drivers for microsoft windows ?: http://libusb-win32.sourceforge.net/ 4.3 conformity statement this evaluation board/kit is intended for use for engineering development, demonstration or evaluation purposes only and is not considered by reusch elektronik to be a finished end-product fit for general consumer use. this evaluation board/kit does not fall within the scope of the european union directives regarding electromagnetic compatibility, restricted substances (rohs), recycling (weee), fcc, ce or ul, and therefore may not meet the technical requirements of these directives or other related directives. rev. 1.0 page 10 free datasheet http://
reusch elektronik X3DIL 4.4 statement and disclaimer this electronic device is designed under best known engineering guidelines. it confirms the appropriate design rules. no warranty or liability is given for adherence, assured properties, or damages which might be caused by the usage of this hardware or the accessory software. note: this equipment has been tested and found to comply with the limits for a class b digital device. these limits are designed to provide reasonable protection against harmful interference in a residential installation. this equipment generates, uses and can radiate radio frequency energy, and if not installed and used in accordance with the instruction manual, may cause interference to radio communications. however, there is no guarantee that interference will not occur in a particular installation. 4.4 technical support we hope you'll understand, that technical support by phone is not possible. if you have any questions, technical problems or you need information about other products from reusch elektronik , please contact us by e-mail or fax. e-mail: support@reusch-elektronik.de fax: +49-7541-81483 we are able to handle inquiries in english and german language. don't hesitate to contact us, if you have demand for custom specific solutions! rev. 1.0 page 11 free datasheet http://


▲Up To Search▲   

 
Price & Availability of X3DIL

All Rights Reserved © IC-ON-LINE 2003 - 2022  

[Add Bookmark] [Contact Us] [Link exchange] [Privacy policy]
Mirror Sites :  [www.datasheet.hk]   [www.maxim4u.com]  [www.ic-on-line.cn] [www.ic-on-line.com] [www.ic-on-line.net] [www.alldatasheet.com.cn] [www.gdcy.com]  [www.gdcy.net]


 . . . . .
  We use cookies to deliver the best possible web experience and assist with our advertising efforts. By continuing to use this site, you consent to the use of cookies. For more information on cookies, please take a look at our Privacy Policy. X